package com.movitech.mobile.cz.base.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.Version;
import com.movitech.mobile.cz.base.modules.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * <p>
 * 文章
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("s_article")
@ApiModel
public class SArticle extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    /**
     * 文章类型（1：帮助中心）
     */
    @ApiModelProperty(value = "文章类型（1：帮助中心）")
    @TableField("article_type")
    private Integer articleType;
    /**
     * 文章标题
     */
    @ApiModelProperty(value = "文章标题")
    @TableField("article_title")
    private String articleTitle;
    /**
     * 文章内容
     */
    @ApiModelProperty(value = "文章内容")
    @TableField("article_content")
    private String articleContent;


}
